package com.jin.service;

import com.jin.pojo.ApproveInfo;

import java.util.List;

public interface ApproveInfoService {
    //添加审批表
    int insertApproveInfo(ApproveInfo approveInfo);

    //删除审批表
    int deleteApproveInfo(Integer id);

    //修改审批表
    int updateApproveInfo(ApproveInfo approveInfo);

    //查询审批记录根据id
    ApproveInfo getApproveInfoById(Integer id);

    //查询所有审批记录
    List<ApproveInfo> getApproveInfos();
}
